<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ page language="java" contentType="text/html; charset=utf-8" %>
<html>
    <head>
        <title>Post Form</title>
    </head>
    <body>
        <form:form method="POST" commandName="usr">
            <form:errors path="*" cssClass="error" />
            <table>
                <tr>
                    <td>User ID</td>
                    <td><form:input path="usrId" /></td>
                    <td><form:errors path="usrId" cssClass="error" /></td>
                </tr>
                <tr>
                    <td>UserName</td>
                    <td><form:input path="usrName" /></td>
                    <td><form:errors path="usrName" cssClass="error" /></td>
                </tr>
                <tr>
                    <td>Password</td>
                    <td><form:input path="usrPwd" /></td>
                    <td><form:errors path="usrPwd" cssClass="error" /></td>
                </tr>
                <tr>
                    <td colspan="3"><input type="submit" /></td>
                </tr>
            </table>
        </form:form>
    </body>
</html>